class Dog {
    public String name;
    public int age;

    public void bark(){
        System.out.print(age+ "的" +name + "：大胆!  ");
    }
    public void eat() {
        System.out.println("我TM吃吃吃！");
    }


}

public class java32 {
    public static void main(String[] args) {
        Dog dog1 = new Dog();
        dog1.age = 15;
        dog1.name = "大黄";
        dog1.bark();
        dog1.eat();

        Dog dog2 = new Dog();
        dog2.age = 18;
        dog2.name = "大黑";
        dog2.bark();;
        dog2.eat();
    }

}
